package com.bw.ivideoproject

import android.graphics.Color
import android.view.View
import androidx.lifecycle.MutableLiveData
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.blankj.utilcode.util.SPUtils
import com.bw.ivideoproject.databinding.ActivityMainBinding
import com.bw.lib_mvvm.BaseActivity

class MainActivity : BaseActivity<ActivityMainBinding>() {

    override fun initView() {

    }

    override fun initData() {
        val navHostFragment = supportFragmentManager.findFragmentById(R.id.fcv) as NavHostFragment
        val navController = navHostFragment.navController
        binding.bnv.setupWithNavController(navController)
    }

    override fun bindLayout(): Int {
        return R.layout.activity_main
    }

    override fun onResume() {
        super.onResume()
    }
}